/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bo;

import beans.OtherBean;
import java.util.ArrayList;
import mapper.OtherMapper;

/**
 *
 * @author Haomaru
 */
public class OtherBO {
    public void insertNewUser(OtherBean newOther) throws Exception {
		OtherMapper mapper = null;
		try {
			mapper = new OtherMapper();
			mapper.insertNewother(newOther);
		}
		catch (Exception e) {
			throw e;
		}
	}
	
	public OtherBean getUserInformation(String newOther) throws Exception {
		OtherMapper mapper = null;
		try {
			mapper = new OtherMapper();
			return mapper.getotherInformation(newOther);
		}
		catch (Exception e) {
			throw e;
		}
	}

}
